(tar-get-descriptor): No error for zero-length file.
authorRichard M. Stallman <rms@gnu.org>
Sun, 15 Jul 2007 14:35:06 +0000 (14:35 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 15 Jul 2007 14:35:06 +0000 (14:35 +0000)
lisp/tar-mode.el

index f222c23fbf02d413c4642f00db5145cb260ed077..684396f1692691e4c0182dd06eb725c9334a7221 100644 (file)
@@ -667,7 +667,7 @@ appear on disk when you save the tar-file's buffer."
                     ((eq link-p 38) "a volume header")
                     ((eq link-p 55) "an extended pax header")
                     (t "a link"))))
-    (if (zerop size) (error "This is a zero-length file"))
+    (if (zerop size) (message "This is a zero-length file"))
     descriptor))
 
 (defun tar-mouse-extract (event)